import request from '@/utils/request'
//获取全部反馈分页列表
export function getFeedbackListApi(pageIndex){
    return request({
        method:'get',
        url:'/admin/feedback/find/all',
        params:{
            "page":pageIndex
        }
    })
}
//根据反馈状态获取分页列表
export function getStatusFeedbackApi(status,page){
    return request({
        method:'get',
        url:'/admin/feedback/find/status',
        params:{
            "status":status,
            "page":page
        }
    })
}
//修改反馈状态
export function updateFeedbackStatusApi(feedbackId,status){
    return request({
        method:'post',
        url:'/admin/feedback/update/status',
        data:{
            "id":feedbackId,
            "status":status
        }
    })
}